<?php
header("Content-Type:text/html;charset=UTF-8");
include("./API.php");
include("../config.php");
tongji("QR");
$qq=$_GET['qq'];//需要查询的QQ号
$hh=$_GET['hh']?:"\n";//换行符号(默认\n)
if(!$qq){echo "".$web["ming"]."API♧QRSpeed授权查询".$hh."━━━━━━━━━".$hh."qq 参数为空".$hh."━━━━━━━━━".$hh."Tips:".$web["ming"]."API技术支持";exit;}
$result = file_get_contents("http://yingyapi.test.upcdn.net/Api/php/QRSpeedAuth.php?circuit=&qq=".$qq."");
$url = json_decode($result, true);
if($url["code"]==200){
echo "".$web["ming"]."API♧QRSpeed授权查询".$hh."";
echo "━━━━━━━━━".$hh."";
echo "查询账号：".$url["qq"]."".$hh."";
echo "ID：".$url["id"]."".$hh."";
echo "授权时间：".$url["AuthorizationTime"]."".$hh."";
echo "到期时间：".$url["ExpirationTime"]."".$hh."";
echo "━━━━━━━━━".$hh."";
echo "Tips:".$web["ming"]."API技术支持";
}else{
echo "".$web["ming"]."API♧QRSpeed授权查询".$hh."";
echo "━━━━━━━━━".$hh."";
echo "查询失败！".$hh."";
echo "━━━━━━━━━".$hh."";
echo "Tips:".$web["ming"]."API技术支持";
}
?>